﻿package daphne.noterun.objects {	import daphne.noterun.objects.GameObject;	import daphne.noterun.notes.NoteTrack;	import daphne.noterun.menus.Room;		public class Coin extends GameObject {		private var graphic:CoinAnim;				public function Coin(room:Room) {			super(room);						graphic = new CoinAnim();			this.addChild(graphic);			graphic.x = - graphic.width / 2;			graphic.y = - graphic.height / 2;		}				public override function update():void		{			this.x += NoteTrack.SPEED;		}	}	}